<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>LCV Framework: bmp.h Quellcode</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Erzeugt von Doxygen 1.5.3 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Hauptseite</span></a></li>
    <li><a href="classes.html"><span>Datenstrukturen</span></a></li>
    <li class="current"><a href="files.html"><span>Dateien</span></a></li>
  </ul>
</div>
<h1>bmp.h</h1><a href="bmp_8h.html">gehe zur Dokumentation dieser Datei</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00009"></a>00009 <span class="preprocessor">#ifndef BMP_H_</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span><span class="preprocessor">#define BMP_H_</span>
<a name="l00011"></a>00011 <span class="preprocessor"></span>
<a name="l00012"></a>00012 <span class="preprocessor">#include "<a class="code" href="lcv-config_8h.html" title="Enthält die allgemeinen Definitionen des LCV Frameworks.">lcv-config.h</a>"</span>
<a name="l00013"></a>00013 <span class="preprocessor">#include "<a class="code" href="lcv-structs_8h.html" title="Definiert spezifische Strukturen für die LCV.">lcv-structs.h</a>"</span>
<a name="l00014"></a>00014 
<a name="l00015"></a>00015 
<a name="l00022"></a>00022 <span class="keywordtype">char</span> <a class="code" href="bmp_8c.html#019bbd8825f65533aa3651c087951d3d" title="Speichert ein lcv_picture Strukt im BMP-Format ab.">lcv_write_bmp</a>(<span class="keyword">const</span> <a class="code" href="structlcv__picture.html" title="Bilderstruktur für unsigned 8-bit Bilder.">lcv_picture</a> pic, <span class="keyword">const</span> <span class="keywordtype">char</span>* filename);
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 
<a name="l00031"></a>00031 <a class="code" href="structlcv__picture.html" title="Bilderstruktur für unsigned 8-bit Bilder.">lcv_picture</a> <a class="code" href="bmp_8c.html#db9d72348ad074e3aa31306fd9c0f410" title="Liest ein Bitmap vom Dateisystem ein und wandelt es in ein lcv_picture um.">lcv_read_bmp</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* filename);
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 
<a name="l00039"></a>00039 <span class="keywordtype">int</span> <a class="code" href="bmp_8c.html#e479adb4ac58f6d6aa93c6ec6cd33c6f" title="Liest den Offset der Bilderdaten aus einem BMP-Header.">lcv_get_data_offset</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> * header);
<a name="l00040"></a>00040 
<a name="l00041"></a>00041 
<a name="l00047"></a>00047 <span class="keywordtype">void</span> <a class="code" href="bmp_8c.html#5558ce5030c2351ee51f4aceb3c2cc19" title="Schreibt den Bilddaten-Offset Wert in einen BMP-Header.">lcv_set_data_offset</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> * header, <span class="keywordtype">int</span> offset);
<a name="l00048"></a>00048 
<a name="l00049"></a>00049 
<a name="l00055"></a>00055 <span class="keywordtype">int</span> <a class="code" href="bmp_8c.html#705a23754fa604d27b8f0562388f8e99" title="Liest die Bildhöhe aus einem BMP-Header.">lcv_get_height</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> * header);
<a name="l00056"></a>00056 
<a name="l00057"></a>00057 
<a name="l00063"></a>00063 <span class="keywordtype">void</span> <a class="code" href="bmp_8c.html#195e45d074ca98f4a6223df1222beb03" title="Schreibt die Bildhöhe in einen BMP-Header.">lcv_set_height</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> * header, <span class="keywordtype">int</span> height);
<a name="l00064"></a>00064 
<a name="l00065"></a>00065 
<a name="l00071"></a>00071 <span class="keywordtype">int</span> <a class="code" href="bmp_8c.html#cb2e0a15670d489e379065f189d36cd3" title="Liest die Bildbreite aus einem BMP-Header.">lcv_get_width</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> * header);
<a name="l00072"></a>00072 
<a name="l00073"></a>00073 
<a name="l00079"></a>00079 <span class="keywordtype">void</span> <a class="code" href="bmp_8c.html#5f996c726707fcfa7b04f47e649e6503" title="Schreibt die Bildbreite in einen BMP-Header.">lcv_set_width</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> * header, <span class="keywordtype">int</span> width);
<a name="l00080"></a>00080 
<a name="l00081"></a>00081 
<a name="l00087"></a>00087 <span class="keywordtype">int</span> <a class="code" href="bmp_8c.html#747d30df5a1c05fd51e331c6d1864b13" title="Liest die Farbtiefe aus einem BMP-Header.">lcv_get_colordepth</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> * header);
<a name="l00088"></a>00088 
<a name="l00089"></a>00089 <span class="preprocessor">#endif </span><span class="comment">/*BMP_H_*/</span>
</pre></div><hr size="1"><address style="text-align: right;"><small>Erzeugt am Wed Dec 19 16:38:17 2007 für LCV Framework von&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
</html>
